@import url(prism.css);
@import url(post.css);
@import url('../owo/owo.min.css');
@import url(jquery.fancybox.min.css);

/**
common
 */
a:hover {
    text-decoration: none;
}
/**
头部
 */
header {
    border-bottom: 1px solid #ececec;
    margin-bottom: 20px;
    line-height: 44px;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
    position: relative;
}
.site-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    vertical-align: middle;
    transition: all 0.5s;
    cursor: pointer;
}
.site-logo:hover {
    transform: rotate(360deg);
}
.site-name {
    margin-left: 5px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}
.bi.bi-search {
    cursor: pointer;
}
.bi.bi-search:hover {
    color: cornflowerblue;
}
.mobile-nav {
    float: right;
    line-height: 40px;
    outline: none!important;
    border: none;
    background: none;
    height: 50px;
}
.mobile-nav:hover {
    color: cornflowerblue;
}
@media (min-width: 768px) {
    #mobile-nav {
        display: block!important;
    }
}
/**
重写modal
 */
.modal-header {
    border-bottom: none;
}
.modal-footer {
    border-top: none;
}

.modal-header .close {
    background: #FC4349;
    border-radius: 50%;
    height: 25px;
    width: 25px;
    margin: 0;
    padding: 0;
    color: #fff;
    font-weight: 200;
    font-size: 18px;
    opacity: 1;
    outline: none;
}
.modal-header .close:hover {
    background: #002635;
}
/*
搜索框
*/
.search-block {
    background: #fff;
    width: 100%;
    position: relative;
    height: 220px;
    left: 0;
    padding: 50px;
    z-index: 1;
    border-bottom: 1px solid #ececec;
}
.search-button {
    margin-top: 20px;
}
.search-area {
    outline: none;
    border: none;
    line-height: 48px;
    color: #000;
    background: none;
}
.search-area:focus, .close:focus {
    outline: none;
}
.close {
    outline: none;
}
.search-button {
    border-radius: 20px;
}
/*
 幻灯片
*/
#carouselExampleIndicators {
    margin-bottom: 20px;
}
/**
导航
 */
.nav-link {
    height: 40px;
    color: #000;
    margin-bottom: 24px;
    padding: 0;
}
.nav-link.active {
    color: rgb(29,161,242);
}
.nav-item {
    text-align: center;
}
.nav-item:hover {
    background-color: #1da1f21a;
    color: #1da1f2;
    border-radius: 25px;
}
.last-nav-item {
    background-color: rgb(27, 157, 231);
    border-radius: 25px;
    color: #fff;
    text-align: center;
}
.last-nav-item:hover {
    background-color: rgb(8, 79, 117);
}
.nav-icon {
    max-width: 24px;
    max-height: 24px;
    margin-right: -9px;
    margin-left: 9px;
}
.nav-item-text {
    display: inline-block;
    padding: 10px;
    font-size: 19px;
    vertical-align: middle;
    font-weight: 700;
}
/**
文章列表
 */
.list {
    margin-top: 15px;
}

article {
    border-top: 1px solid #f0f2f7;
    border-bottom: 1px solid #f0f2f7;
    border-left: 1px solid #f0f2f7;
    border-right: 1px solid #f0f2f7;
    padding: 1.25rem;
    position: relative;
}
article h4 {
    word-break: break-all;
}
.excerpt-link {
    color: #000;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    border-bottom: 2px solid #007bff;
    background-color: #fff;
    color: inherit;
}
.nav-pills .nav-link {
    border-radius: 0;
}
.category-button a {
    color: inherit;
}
.post-title {
    font-weight: 600;
    line-height: 1.6;
    color: #1a1a1a;
    margin-top: -4px;
    margin-bottom: -4px;
    text-decoration: none;
}
.post-title:hover {
    text-decoration: none;
}
.post-author img {
    border-radius: 50%;
}
.post-author a {
    color: #000;
    text-decoration: none;
    margin-left: .1rem;
}
.post-cover {
    margin-top: 10px;
    border-radius: 4px;
    margin-right: -10px;
}
.post-cover-inner {
    height: 100%;
    width: 100%;
}
.post-cover-inner img {
    width: 100%;
}
.post-content-inner {
    margin-top: 10px;
    margin-bottom: 10px;
}
.button {
    display: inline-block;
    padding: 0 16px;
    font-size: 14px;
    line-height: 32px;
    color: #8590a6;
    text-align: center;
    background: none;
    border: 1px solid;
    border-radius: 3px;
    outline: none!important;
}
.post-action:hover {
    color: rgb(37, 120, 196);
}
.post-icon {
    margin-right: 4px;
}
.post-plain, .post-datetime, .post-action {
    height: auto;
    padding: 0;
    line-height: inherit;
    background-color: transparent;
    border: none;
    border-radius: 0;
}
.post-plain a {
    margin-left: 4px;
    color: #175199;
}
.post-plain a:hover {
    color: grey;
}
.btn-like:disabled {
    color: crimson;
}

.index-category {
    line-height: 40px;
    border-top: 1px solid #f0f2f7;
    border-left: 1px solid #f0f2f7;
    border-right: 1px solid #f0f2f7;
    height: 40px;
    box-sizing: content-box;
}
.index-category span {
    margin-left: 2px;
}
.index-category.page-category {
    margin-top: 10px;
}
/**
footer
 */
.footer-item {
    color: #8590a6;
}
.archive-posts {
    padding: 10px;
    margin-top: -6px;
}
.archive-post {
    width: 100%;
    height: 28px;
    line-height: 28px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.archive-post > a {
    color: #000;
}
.archive-post > a:hover {
    color: rgb(37, 120, 196);
}

.user-container {
    margin-bottom: 10px;
}
.user-info {
    height: 115px;
    background-position: 50% 50%;
    background-size: cover;
    overflow: hidden;
    position: relative;
}
.user-info .info {
    text-align: center;
}
.info .pic {
    border-radius: 50%;
    width: 4rem;
}
.info p{
    font-size: 14px;
    color: #fff;
    font-weight: 700;
}
.user-detail {
    position: relative;
    z-index: 0;
    background: #fff;
}
.user-detail svg {
    color: #121212;
}
.user-detail ul li {
    width: calc(100% / 3);
    list-style: none;
    text-align: center;
}
.recent-avatar {
    border-radius: 50%;
}
.random-post {
    margin-top: 10px;
    margin-bottom: 10px;
}
.recent-box, .random-post {
    padding: 5px 15px 0 15px;
}
.recent-box ul, .archive-posts {
    margin-bottom: 0;
}
.recent-box .title, .random-post .title {
    font-size: 18px;
    padding: 10px 15px;
    border-bottom: 1px solid #e6ecf0;
}
.recent-box .content {
    font-size: 14px;
    color: #000;
}
.recent-box .content:hover {
    color: #0056b3;
}
/*
返回顶部
*/
@media (max-width: 1000px) {
    .back-to-top {
        display: none !important;
    }
}
.back-to-top {
    cursor: pointer;
    position: fixed;
    right: 80px;
    top: -999px;
    z-index: 2;
    width: 70px;
    height: 800px;
    background: url(../img/backtop.png);
    transition: all .5s ease-in-out;
    opacity: 1;
}
/*
转换按钮
*/
.chose-mode-day, .chose-mode-moon {
    outline: none!important;
    border: none;
    line-height: 48px;
    color: #000;
    background: none;
}
.chose-mode-moon {
    display: none;
}
.ze_DarkSky, .ze_DarkSky:before {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 88888888
}

.ze_DarkSky {
    background: linear-gradient(#feb8b0, #fef9db)
}

.ze_DarkSky:before {
    transition: 2s ease all;
    opacity: 0;
    background: linear-gradient(#4c3f6d, #6c62bb, #93b1ed)
}
.ze_DarkPlanet {
    z-index: 99999999;
    position: fixed;
    left: -50%;
    top: -50%;
    width: 200%;
    height: 200%;
    -webkit-animation: zePlanetMove 2s cubic-bezier(.7, 0, 0, 1);
    animation: zePlanetMove 2s cubic-bezier(.7, 0, 0, 1);
    transform-origin: center bottom
}

@-webkit-keyframes zePlanetMove {
    0% {
        transform: rotate(0)
    }
    to {
        transform: rotate(360deg)
    }
}

@keyframes zePlanetMove {
    0% {
        transform: rotate(0)
    }
    to {
        transform: rotate(360deg)
    }
}

.ze_DarkPlanet svg {
    position: absolute;
    left: 35%;
    top: 40%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    content: "";
}
.theme-dark .ze_DarkSky:before {
    opacity: 1
}
/**
分页
 */
.page-pagination {
    margin-top: 10px;
}
.page-link {
    border-radius: 50% !important;
    margin: 5px;
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-item {
    line-height: 32px;
    position: relative;
}
.page-item:not(.active):not(:last-child):not(:first-child)::after {
    content: '';
    display: inline-block;
    background-image: url(../img/ico-xiaoji.png);
    width: 13px;
    height: 13px;
    position: relative;
    top: -61px;
    left: 21px;
    transform: rotate(24deg);
}
/**
滚动条
 */
/* 滚动槽 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    border-radius: 3px;
    background: rgba(0,0,0,0.06);
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.08);
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: linear-gradient(to right, #0acffe 0%, #495aff 100%);
    -webkit-box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}
/**
暗黑模式
 */
.theme-dark header {
    background: rgba(52,50,50,0.7);
    backdrop-filter: blur(20px);
    border: none;
}
.theme-dark {
    background: #121212;
}
.theme-dark .site-name {
    color: rgba(255,255,255,0.87);
}
.theme-dark .site-name:hover {
    color: #0056b3;
}
.theme-dark .search-area {
    color: rgba(255,255,255,1);
}
.theme-dark .mobile-nav {
    color: rgba(255,255,255,1);
}
.theme-dark .random-post {
    background: rgba(52,50,50,0.7);
}
.theme-dark  .random-post > .title {
    color: rgba(255,255,255,0.87);
}
.theme-dark  .archive-posts {
    border: none;
}
.theme-dark .archive-post > a {
    color: rgba(255,255,255,0.87);
}
.theme-dark .archive-post > a:hover {
    color: #0056b3;
}
.theme-dark article {
    background: rgba(52,50,50,0.7);
    border: none;
}
.theme-dark .list article {
    margin-bottom: 5px;
}
.theme-dark .excerpt-link {
    color: rgba(255,255,255,0.87);
}
.theme-dark .post-title {
    color: rgba(255,255,255,0.87);
}
.theme-dark .post-title:hover {
    color: #0056b3;
}
.theme-dark .post-author a {
    color: #fff;
}
.theme-dark .post-content-inner {
    color: rgba(255,255,255,0.6);
}
.theme-dark .post-plain a {
    color: rgba(255,255,255,0.38);
}
.theme-dark .nav-menu {
    background: rgba(52,50,50,0.7);
    margin-bottom: 10px;
    padding: 5px;
}
.theme-dark .nav-link {
    color: rgba(255,255,255,0.87);
}
.theme-dark .page-item.active .page-link {
    background-color: rgba(0,0,0,0.6);
}
.theme-dark .page-link {
    color: rgba(255,255,255,0.6);
    background-color: rgba(0,0,0,0.6);
    border: 3px solid #868686;
}
.theme-dark footer {
    color: rgba(255,255,255,0.87);
}
.theme-dark .OwO .OwO-logo {
    color: rgba(255,255,255,0.6);
}
.theme-dark .OwO .OwO-logo {
    background: rgba(52,50,50,0.7);
}
.theme-dark .OwO:hover .OwO-logo {
    color: rgba(255,255,255,0.6);
}
.theme-dark .user-container, .theme-dark .recent-box {
    background: rgba(52,50,50,0.7);
}
.theme-dark .detail-num, .theme-dark .recent-box .title {
    color: rgba(255,255,255,0.87);
}
.theme-dark .recent-box .content, .theme-dark .recent-box h6 {
    color: rgba(255,255,255,0.6);
}
.theme-dark .search-block {
    background-color: rgb(42 40 40);
    border-bottom: 1px solid #222222;
}
.theme-dark .search-block h4 {
    color: rgba(255,255,255,0.87);
}
.theme-dark .close {
    color: rgba(255,255,255,0.87);
}
.theme-dark .breadcrumb.search{
    background-color: rgb(52,50,50);
    color: rgba(255,255,255,0.87);
    position: relative;
    z-index: -1;
}
.theme-dark .user-detail {
    background: rgba(52,50,50,0.7);
}
.theme-dark .user-detail svg {
    color: rgba(255,255,255,0.87);
}
.theme-dark article {
    margin-bottom: 5px;
}
.theme-dark .index-category {
    background: rgba(52,50,50,0.7);
    border: none;
}
.theme-dark .nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: transparent;
    color: rgba(255,255,255,0.87);
}
.theme-dark .chose-mode-day, .theme-dark .chose-mode-moon {
    color: rgba(255,255,255,0.87);
}